package spm.entities;

/**
 * This is a persistent class used by Hibernate. The class represents a possible
 * status of the task.
 * 
 * @author Evgeny Ryzhkov
 * 
 * $Id: TaskStatus.java 11 2006-12-04 15:04:58Z evgeny.ryzhkov $
 */
public class TaskStatus {

	/**
	 * The unique ID of the status.
	 */
	private Long id;

	/**
	 * The key in the resource file for the status name.
	 */
	private String taskStatusNameKey;

	/**
	 * Constructor without parameters. It is required by Hibernate.
	 */
	public TaskStatus() {
	}

	/**
	 * @return Returns the id.
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id
	 *            The id to set.
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return returns the taskStatusName.
	 */
	public String getTaskStatusNameKey() {
		return taskStatusNameKey;
	}

	/**
	 * @param taskStatusName
	 *            The taskStatusName to set.
	 */
	public void setTaskStatusNameKey(String taskStatusNameKey) {
		this.taskStatusNameKey = taskStatusNameKey;
	}

}
